package adapterpattern;

/**
 * Created with IntelliJ IDEA.
 *
 * @author: sunxu
 * @Date: 2017/10/15
 * @Time: 21:11
 * Description:
 */
public class Banner {
    private String string;

    public Banner(String string) {
        this.string = string;
    }
    public void showWithParen() {
        System.out.println("(" + string + ")");
    }
    public void showWithAster() {
        System.out.println("*" + string + "*");
    }
}
